#include <iostream>
#include<fstream>
#include<string>
using namespace std;
void disp(int);
void book();
void detail();
void issue (int);
void save(int,int);
void sugess();
int a,r,b,e,f,g;
char a1[]="available";
char a2[]="not available";
char a3[]="read only";
int main()
{
loop:
cout<<"PLEASE ENTER YOUR ROLL NUMBER  ";
cin>>r;
cout<<"\n\n\n\n\n";
switch(r)
{
case 123:
cout<<"Name  Muhammad Ali Bajwa\n";
cout<<"Father name ========\n";
cout<<"Class BEE-4";
break;
case 124:
cout<<"Name  Muhammad Atif Afzal\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 136:
cout<<"Name  Muhammad Taimoor Shabbir\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 159:
cout<<"Name  Usman Aziz\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 234:
cout<<"Name  Abdul Aleem Ahsan\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 237:
cout<<"Name  Abdullah Intekhab\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 244:
cout<<"Name  Ali Raza\n";
cout<<"Father name ========\n";
cout<<"Class BEE-4";
break;
case 246:
cout<<"Name  Armaghan Jamshaid\n";
cout<<"Father name =========\n";
cout<<"Class BEE-4";
break;
case 248:
cout<<"Name  Bilal Ahmed\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
case 249:
cout<<"Name  Bilal Zafar\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
case 257:
cout<<"Name  Furqan Naseer\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
case 268:
cout<<"Name  Khazal Dar\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 270:
cout<<"Name  Muhammad Shoaib Akhtar\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 273:
cout<<"Name  Muhammad Ali\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 276:
cout<<"Name  Muhammad Bilal Khan\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 279:
cout<<"Name  Muhammad Osama Sheri\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 285:
cout<<"Name  Muhammad Waqas\n";
cout<<"Father name Zulfiqar Akhter\n";
cout<<"Class BEE-4";
break;
case 287:
cout<<"Name  Murtaza Manzoor\n";
cout<<"Father name Manzoor Ahmed\n";
cout<<"Class BEE-4";
break;
case 288:
cout<<"Name  Saad Abdullah Khan\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
case 290:
cout<<"Name  Saad Hussain\n";
cout<<"Father name Hussain Ahmed\n";
cout<<"Class BEE-4";
break;
case 292:
cout<<"Name  Sarmad Munir\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 293:
cout<<"Name  Shehryar Tariq\n";
cout<<"Father name =========\n";
cout<<"Class BEE-4";
break;
case 294:
cout<<"Name  Sheikh Arslan Ali Riaz\n";
cout<<"Father name =========\n";
cout<<"Class BEE-4";
break;
case 297:
cout<<"Name  Syed Kamran Haider\n";
cout<<"Father name ===========\n";
cout<<"Class BEE-4";
break;
case 298:
cout<<"Name  Syed Nasar Shahzad\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
case 302:
cout<<"Name  Usman Asghar\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
case 303:
cout<<"Name  Usman Moin\n";
cout<<"Father name Moin ud Din\n";
cout<<"Class BEE-4";
break;
case 304:
cout<<"Name  Waqas Gul\n";
cout<<"Father name Gul Zaman\n";
cout<<"Class BEE-4";
break;
case 305:
cout<<"Name  Waqas Saeed Butt\n";
cout<<"Father name Saeed Ahmed Butt\n";
cout<<"Class BEE-4";
break;
case 320:
cout<<"Name  Sadia Anwar\n";
cout<<"Father name ==========\n";
cout<<"Class BEE-4";
break;
default:
cout<<"you have entered an invalid number\n";
goto loop;
break;
}
cout<<"\n\n\n\n\n\n";
cout<<"                       WELCOME IN LIBRARY\n\n"<<endl;
cout<<endl;
cout<<endl;
cout<<"PRESS"<<endl;
cout<<"1.TO SEE THE BOOKS"<<endl;
cout<<"2.TO EXIT"<<endl;
salaam:
cin>>e;
if(e==1)
{disp(a);}
else if(e==2)
{exit(0);}
else
{cout<<"Please enter a valid choice   ";
goto salaam;
}
cobra:
book();
cout<<"\n\n\n\n";
cout<<"1.TO GO BACK"<<endl;
cout<<"2.TO CONTINUE"<<endl;
cout<<"3.To EXIT"<<endl;
snake:
cin>>f;
if(f==1)
{disp(a);
goto cobra;}
else if(f==2)
{cout<<"\n\n\n";
	detail();
cout<<"\n\n\n";}
else if (f==3)
{exit(0);}
else
{cout<<"INVALID OPTION ENTER A VALID OPTION  ";
goto snake;
}
cout<<"1.TO ISSUE THE BOOK"<<endl;
cout<<"2.TO CONTINUE"<<endl;
cout<<"3.TO EXIT"<<endl;
grass:
cin>>g;
if(g==1)
{issue (b);}
else if(g==2)
{goto draft;}
 else if(g==3)
{exit(0);}
else
{
cout<<"INVALID OPTION ENTER A VALID OPTION";
goto grass;}
draft:
save(a,b);
cout<<"\n\n\n\n";
sugess();
for(int j=0;j<=3;j++)
{
cout<<endl;}
cout<<"THANK YOU FOR USING OUR SERVICE"<<endl;;
cout<<"\n\n\n\n\n";
return 0;
}
///////////////////////////////////////////////////////////////////////////
void disp(int a)
{
cout<<"\n\n\n\n\n";
cout<<"THERE ARE THE FOLLOWING BOOKS\n";
cout<<"\n\n";
cout<< "1.SCIENCE BOOKS       2.NOVELS      3.FICTIONS"<<endl;
cout<< "4.ENGINEERING         5.LITERATURE  6.ISLAMIC"<<endl;
cout<< "7.SPORTS              8.ARTS        9.ECONOMICS"<<endl;
cout<< "10.COOKING            11.COMPUTER."<<endl;
cout<<"PLEASE ENTER THE NUMBER OF SECTION TO WHICH YOU WANT TO SEE THE BOOKS\n";
}
//////////////////////////////////////////////////////////////////////////////
void book()
{
good:
cin>>a;
cout<<"\n\n\n\n\n\n";
if(a==1)
{
cout<<"         WELCOME TO THE SCIENTIFIC BOOK SECTION"<<endl;
cout<<        "              BOOKS ARE"<<endl;
cout<<"1.Science               2.Science of mind               3.Social science" <<endl;        
cout<<"4.Science education.    5.Why Science?                  6.Animal Science "<<endl;        
cout<<"7.Human system.         8.Plant nutrition.              9.Insects behavior."<<endl;
cout<<"10.Atom science."<<endl;
		}
////////////////////////////////////////////////////////////////////
else if(a==2)
{
cout<<"          WELCOME TO THE NOVEL  SECTION"<<endl;
cout<<             "      NOVELS ARE"<<endl;
cout<< "1.Atonement               2.Great Expectation         3.Brick lane"<<endl;
cout<< "4.Jane Eyre               5.Time Machine              6.Invisible Man"<<endl;
cout<< "7.Treasure Island         8.Bandit Queen        9.Monte Cristo count"<<endl;
cout<< "10.Cruel king "<<endl;
		}
/////////////////////////////////////////////////////////////////////
else if(a==3)
{
cout<<"          WELCOME TO THE FICTION  SECTION"<<endl;
cout<<"                     FICTION ARE"<<endl;
cout<<"1.Powerless fictions               2.Legal fictions               3.Political fictions"<<endl;      
cout<<"4.Fiction of America               5.Dreams of Authority          6.Feminine fiction" <<endl;        
cout<<"7.Fiction of unconcious            8.Global Empire                9.Fiction and social reality"<<endl;         
		           
		}
////////////////////////////////////////////////////////////////////////
else if(a==4)
{
cout<<"            WELCOME TO THE ENGINEERING  SECTION"<<endl;
cout<<"                    ENGG BOOKS ARE"<<endl;
cout<<"1.Engineering Formulas               2.Engg Career               3.A.E Mathematics"<<endl;
cout<<"4.Frontier of enginering             5.Engg mechanics            6.Engineering fields"<<endl;
cout<<"7.Engineering Handbook               8.Creative Profession.       9.Qualitative Engineering"<<endl;
cout<<"10.Engineering Structure"<<endl;
}
///////////////////////////////////////////////////////////////////////
else if(a==5)
{
cout<<"              WELCOME TO THE LITERATURE  SECTION"<<endl;
cout<<"                          BOOKS  ARE"<<endl;
cout<<"1.Frankestien               2.The jungle               3.Moby Dick"<<endl; 
cout<<"4.Literature and poetry     5.American Classic literature     6.Literaure reading?"<<endl;    
cout<<"7.Literature Guide.         8.Chinese Literature "<<endl;               
	
		}	
////////////////////////////////////////////////////////////////////////
else if(a==6)
{
cout<<"              WELCOME TO THE ISLAMIC  SECTION"<<endl;
cout<<"                           BOOKS  ARE"<<endl;
cout<<"1.Islam..               2.Islamic Rulings               3.Islamic Humanism"<<endl;
cout<<"4.Islamic Theories      5.Islamic History               6.Servivor of Islam"<<endl;
cout<<"7.Islamic Banking       8.Women in Islam                9.Pioneer of Islam "<<endl;
cout<<"10.Islamic Laws"<<endl;
		}
/////////////////////////////////////////////////////////////////////////
else if(a==7)
{
cout<<"              WELCOME TO THE SPORTS  SECTION"<<endl;
cout<<"                         BOOKS ARE"<<endl;
cout<<"     1.Football               2.Cricket Heros               3.Sports and economy"<<endl;
cout<<"		4.Health and sports      5.Physical Excercises         6.Mental Growth games "<<endl;
cout<<"		7.Car race               8.Free activity               9.Sportsmen life "<<endl;
cout<<"		10.Dangrous sports"<<endl;
		}
////////////////////////////////////////////////////////////////////////////
else if(a==8)
{
cout<<"              WELCOME TO THE ARTS  SECTION"<<endl;
cout<<"                         BOOKS ARE"<<endl;
cout<<"     1.Chinese Arts               2.Arts with brain               3.Expression history"<<endl;
cout<<"		4.Arts and craft             5.Arts and society              6.Arts integration"<<endl;
cout<<"		7.Arts in society."<<endl;

		}
////////////////////////////////////////////////////////////////////////////
else if(a==9)
{
cout<<"               WELCOME TO THE ECONOMICS  SECTION"<<endl;
cout<<"                         BOOKS ARE"<<endl;
cout<<"     1.Economic crisis           2.Economic principles              3.Theories of economics"<<endl;
cout<<"		4.Employment                5.Interest and money               6.International Economy"<<endl;
cout<<"		7.Economist magzine.        8.Economics Analysis               9.Applied Economics"<<endl;
cout<<"	10.Debunking Economics"<<endl;
		}
/////////////////////////////////////////////////////////////////////////////
else if(a==10)
{
cout<<"              WELCOME TO THE COOKING  SECTION"<<endl;
cout<<"                            BOOKS ARE"<<endl;
cout<<"     1.Cooking                2.simple cooking          3.On cooking "<<endl;
cout<<"		4.Food and cooking       5.science of cooking      6.Elements of cooking"<<endl;
cout<<"		7.French cooking         8.natural cooking         9.Joy of cooking"<<endl;
cout<<"		10.Vegitable cooking "<<endl;
		}
///////////////////////////////////////////////////////////////////////////////
else if(a==11)
{
cout<<"              WELCOME TO THE COMPUTER  SECTION"<<endl;
cout<<"                           BOOKS ARE"<<endl;
cout<<"     1.Computer basics               2.Computer organization        3.Computer architecture "<<endl;
cout<<"		4.Computer organization         5.Computer History             6.Computer Electronics "<<endl;
cout<<"		7.C P U                         8.Modern Brain                 9.How to learn it? "<<endl;
cout<<"		10.Cheap computer."<<endl;
		}
else 
{cout<<"PLEASE ENTER A VALID CHOICE  ";
goto good;
}
}
///////////////////////////////////////////////////////////////////////////////
void detail()
{
star:
cout<<"Please enter the book number to see its detail"<<endl;
cin>>b;
cout<<"\n\n\n\n";
if(a==1&&b==1)
{
cout<<"Author name : Ernest Homes"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==1&&b==2)
{
cout<<"Author name : Paula C.Rest"<<endl;
cout<<" Edtion  3rd "<<endl;
cout<<a1<<endl;

}
else
if(a==1&&b==3)
{
cout<<"Author name :  A.R Jean"<<endl; 
cout<<" Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==1&&b==4)
{cout<<"Author name : John Robin"<<endl;
cout<<" Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==1&&b==5)
{cout<<"Author name : A.S Alghrin"<<endl;
cout<<" Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==1&&b==6)
{cout<<"Author name : Andrew Johnson"<<endl;
cout<<"Edtion  2nd "<<endl;
cout<<a3<<endl;

}
else
if(a==1&&b==7)
{cout<<"Author name : Floyad James"<<endl;
cout<<" Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==1&&b==8)
{cout<<"Author name : S.James"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==1&&b==9)
{cout<<"Author name : Terfill Wttles"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==1&&b==10)
{cout<<"Author name : Wallace Delois"<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
//////////////////////////////////////////
else
if(a==2&&b==1)
{
cout<<"Author name : Charles Dicken"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==2&&b==2)
{cout<<"Author name : Juvinile Fiction"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==2&&b==3)
{
cout<<"Author name :  Ian McEwan "<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;
}
else
if(a==2&&b==4)
{cout<<"Author name : Monica Ali"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==2&&b==5)
{cout<<"Author name : Charle Bronte"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==2&&b==6)
{cout<<"Author name :H.G Wells"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;

}
else
if(a==2&&b==7)
{cout<<"Author name : John Nathan Safron"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;
}
else
if(a==2&&b==8)
{cout<<"Author name : Harper Lee"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a2<<endl;

}
else
if(a==2&&b==9)
{cout<<"Author name : Ralph Ellison"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==2&&b==10)
{cout<<"Author name : Alexander Dumas"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a2<<endl;
}
///////////////////////////////////////////////////////////////
else
if(a==3&&b==1)
{
cout<<"Author name : Pat Parrin"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==3&&b==2)
{cout<<"Author name : Robert Steveson"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==3&&b==3)
{
cout<<"Author name : Robert Lious "<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==3&&b==4)
{cout<<"Author name : Wim Coleman"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==3&&b==5)
{cout<<"Author name : Anthony Carrygan"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==3&&b==6)
{cout<<"Author name : Goerge Borges"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==3&&b==7)
{cout<<"Author name : Joseph S.Trimmer"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==3&&b==8)
{cout<<"Author name : Patricia Maclan"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==3&&b==9)
{cout<<"Author name : Michel Zarefa"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
///////////////////////////////////////////////////////////////////
else
if(a==4&&b==1)
{
cout<<"Author name : Jaude Newman"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==4&&b==2)
{cout<<"Author name : Ricardo Alfanso"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==4&&b==3)
{
cout<<"Author name : Lon L.Fuller "<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==4&&b==4)
{cout<<"Author name : John Didion"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==4&&b==5)
{cout<<"Author name : Ronald R Thomas"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==4&&b==6)
{cout<<"Author name : Patricia Waugh"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==4&&b==7)
{cout<<"Author name : Curt K Giek"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==4&&b==8)
{cout<<"Author name : Geraldine o Galner"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==4&&b==9)
{cout<<"Author name : Avinash Chandra Bajpai"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==4&&b==10)
{cout<<"Author name : L.R Mustoe"<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
///////////////////////////////////////////////////////////
else
if(a==5&&b==1)
{
cout<<"Author name : Dennis walker"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==5&&b==2)
{cout<<"Author name : George C Beakely"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==5&&b==3)
{
cout<<"Author name : H W Leach"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==5&&b==4)
{cout<<"Author name : Alxender Perves"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==5&&b==5)
{cout<<"Author name : Wallace Fowler"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==5&&b==6)
{cout<<"Author name : M W Shelly"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==5&&b==7)
{cout<<"Author name : Upton Sinclair"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==5&&b==8)
{cout<<"Author name : Harman Malville"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
////////////////////////////////////////////////////////////
else
if(a==6&&b==1)
{
cout<<"Author name : Muhammad Saeed"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==6&&b==2)
{cout<<"Author name :Abdul Rehman"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==6&&b==3)
{
cout<<"Author name : Gary R Bunt"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==6&&b==4)
{cout<<"Author name : W.B.Hallaq"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==6&&b==5)
{cout<<"Author name : Brigette Gibreal"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==6&&b==6)
{cout<<"Author name : Ghulam Ishaq"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==6&&b==7)
{cout<<"Author name : M.M.Yaqoob"<<endl;
cout<<"Edtion  3rd         ";
cout<<a1<<endl;
}
else
if(a==6&&b==8)
{cout<<"Author name : Abdul Shakoor"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==6&&b==9)
{cout<<"Author name : Zaman us Siddique"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==6&&b==10)
{cout<<"Author name:S.K.Kaleem"<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
///////////////////////////////////////////////////////////////////////
else
if(a==7&&b==1)
{
cout<<"Author name : Mark Donelly"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==7&&b==2)
{cout<<"Author name :Allen Guttman"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==7&&b==3)
{
cout<<"Author name : Timm Hammond"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==7&&b==4)
{cout<<"Author name : Roger G Noll"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==7&&b==5)
{cout<<"Author name : Andrew S Zambalist"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==7&&b==6)
{cout<<"Author name : John R Gerdy"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==7&&b==7)
{cout<<"Author name : Francois Fortin"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==7&&b==8)
{cout<<"Author name : Neil Lafer"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==7&&b==9)
{cout<<"Author name : Jack Canfield"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==7&&b==10)
{cout<<"Author name:  Mark Victor Hanson"<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
/////////////////////////////////////////////////////////////////
else
if(a==8&&b==1)
{
cout<<"Author name: Susan A Jackson"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==8&&b==2)
{cout<<"Author name :Mihaly Csikzan"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==8&&b==3)
{
cout<<"Author name : Micheal Sullivan"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==8&&b==4)
{cout<<"Author name : Eric Jensen"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==8&&b==5)
{cout<<"Author name : Ronald Tamplin"<<endl;
cout<<"Edtion  5th "<<endl;
cout<<a1<<endl;

}
else
if(a==8&&b==6)
{cout<<"Author name : H Willam Van"<<endl;
cout<<"Edtion  2nd         ";
cout<<a3<<endl;

}
else
if(a==8&&b==7)
{cout<<"Author name : Grace Cartegnetta"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
//////////////////////////////////////////////////////////////////////
else
if(a==9&&b==1)
{
cout<<"Author name: R Mc Cambell"<<endl;
cout<<"Edtion  Ist "<<endl;
cout<<a3<<endl;
}
else 
if(a==9&&b==2)
{cout<<"Author name :Stanley R Brue"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==9&&b==3)
{
cout<<"Author name : Walter  J Wessless"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==9&&b==4)
{cout<<"Author name : Synthea Wiess"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==9&&b==5)
{cout<<"Author name : Arnold Aprill"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==9&&b==6)
{cout<<"Author name : Gail E Burnafold"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==9&&b==7)
{cout<<"Author name : Gene Brown"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==9&&b==8)
{cout<<"Author name : Richard B K"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==9&&b==9)
{cout<<"Author name : Judith R Blau"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==9&&b==10)
{cout<<"Author name:  Arnold W Foster"<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
////////////////////////////////////////////////////////////////////////
else
if(a==10&&b==1)
{
cout<<"Author name: John  Peterson"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==10&&b==2)
{cout<<"Author name :John Theme"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==10&&b==3)
{
cout<<"Author name : Sarah R Labensky"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==10&&b==4)
{cout<<"Author name : Alan M Hause"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;

}
else
if(a==10&&b==5)
{cout<<"Author name : Pirscilia Martel"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==10&&b==6)
{cout<<"Author name : Harold McGee"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==10&&b==7)
{cout<<"Author name : Micheal Rhulman"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==10&&b==8)
{cout<<"Author name : Anthony Burdain"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==10&&b==9)
{cout<<"Author name : Peter Barham"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==10&&b==10)
{cout<<"Author name:  Elizabeth "<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
//////////////////////////////////////////////////////////
else
if(a==11&&b==1)
{
cout<<"Author name: Rick lehtinen"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a3<<endl;
}
else 
if(a==11&&b==2)
{cout<<"Author name :John L Hennessy"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;

}
else
if(a==11&&b==3)
{
cout<<"Author name : Joe Kranak"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;
}
else
if(a==11&&b==4)
{cout<<"Author name : Wally Wang"<<endl;
cout<<"Edtion  Ist"<<endl;
cout<<a1<<endl;
}
else
if(a==11&&b==5)
{cout<<"Author name : Ethen Morkel"<<endl;
cout<<"Edtion  5th"<<endl;
cout<<a1<<endl;

}
else
if(a==11&&b==6)
{cout<<"Author name : Maria Gorna"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a3<<endl;

}
else
if(a==11&&b==7)
{cout<<"Author name : Marion Becker"<<endl;
cout<<"Edtion  3rd"<<endl;
cout<<a1<<endl;
}
else
if(a==11&&b==8)
{cout<<"Author name : I S Rambaour"<<endl;
cout<<"Edtion  4th"<<endl;
cout<<a2<<endl;

}
else
if(a==11&&b==9)
{cout<<"Author name : Wyne Gisslen"<<endl;
cout<<"Edtion  2nd"<<endl;
cout<<a1<<endl;

}
else
if(a==11&&b==10)
{cout<<"Author name:  Heide Swanson "<<endl;
cout<<"Edtion  7th"<<endl;
cout<<a2<<endl;
}
else{cout<<"INVALID NUMBER\n";
goto star;}
}
//////////////////////////////////////////////////////
void issue (int)
{
cout<<"\n\n\n\n\n";
if(b==1)
{cout<<"Sorry we can not issue the book";}
else if(b==6)
{cout<<"Sorry we can not issue the book";}
else if(b==8)
{cout<<"Sorry we can not issue the book";}
else if(b==10)
{cout<<"Sorry we can not issue the book";}
else
{cout <<"you have to return this book after fourteen days"<<endl; 
  cout<<" else you will be fined five rupees per day"<<endl;
}

}
/////////////////////////////////////////////////////////
void save(int a,int b)
{

	const int maxi=80;
ofstream outfile("test1.txt");
outfile<<"Roll # ";
outfile<<r;
outfile<<" Section #";
outfile<<a;
outfile<<" book no";
outfile<<b;

}
////////////////////////////////////////////////////////////
void sugess()
{const int max=80;
char buffer[max];
cout<<"PLEASE WRITE SOME SUGGESTIONS REGARDING OUR SERVICE"<<endl;
ifstream infile("test.txt");
cin>>buffer;
for(int t=0;t<=80;t++)
{infile.putback(buffer[t]);
}
}
